package cn.demomaster.quickui_sample.ui.fragment.component;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.demomaster.quickcompat.widget.button.QuickButton;

import cn.demomaster.quickrouter.fragment.QuickFragment;
import cn.demomaster.quickui.annotation.ActivityPager;
import cn.demomaster.quickui.annotation.ResType;
import cn.demomaster.quickui_sample.R;


/**
 * Squirrel桓
 * 2018/8/25
 */
@ActivityPager(name = "按钮", preViewClass = QuickButton.class, resType = ResType.Resource)//,iconRes = R.drawable.ic_button)
public class RadioButtonFragment extends QuickFragment {

    @Override
    public View onGenerateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View mView = inflater.inflate(R.layout.fragment_layout_button, null);
        return mView;
    }

    @Override
    public String getTitle() {
        return "button";
    }

    @Override
    public void initView(View rootView) {

    }

    public void onClick2(View view){

    }
}